<#include "/common/_start.html"/>

<@layout>
<script>
function addurl(obj){
	$("#iframe").attr("src",obj);
}
function addurls(obj){
	window.location.href=obj;
}
</script>
<body>
	<!--[if lte IE 9 ]><div class="am-alert am-alert-danger ie-warning" data-am-alert>
  <button type="button" class="am-close">&times;</button>
  <div class="am-container">
    你的浏览器太古董了，妹子无爱，<a
    href="http://browsehappy.com/" target="_blank">还不速速换一个</a>！</div></div><![endif]-->
	<!-- Header -->

<header class=" am-header-default am-topbar am-topbar-fixed-top">
  <div class="am-container">
    <h1 class=" am-topbar-brand" style="color: white;">
      超级朋友圈3.0
    </h1>

    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-secondary am-show-sm-only"
            data-am-collapse="{target: '#collapse-head'}">菜单
            <span class="am-sr-only">导航切换</span>
             </button>

    <div class="am-collapse am-topbar-collapse" id="collapse-head">
        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm"  onclick="addurl('${ctx}/wxMenu')"> 微信菜单管理</button>
        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm" onclick="addurl('${ctx}/wxMessage')">消息管理</button>
        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm" onclick="addurl('${ctx}/msgType')"> 消息类型管理</button>
        <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm" onclick="addurl('${ctx}/mb')" > 模板管理</button>
       <button class="am-btn am-btn-secondary am-topbar-btn am-btn-sm" onclick="addurls('${ctx}/logout')" > 退出</button>
    </div>
  </div>
</header>

  <iframe id="iframe"  frameborder='0'  src="" style='width:100%;height:100%;'></iframe>	


<!-- 以上页面内容 开发时删除 -->

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="${ctx}/css/assets/js/polyfill/rem.min.js"></script>
<script src="${ctx}/css/assets/js/polyfill/respond.min.js"></script>
<script src="${ctx}/css/assets/js/amazeui.legacy.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="${ctx}/css/assets/js/jquery.min.js"></script>
<script src="${ctx}/css/assets/js/amazeui.min.js"></script>
<!--<![endif]-->

</body>
</@layout>
</html>

